package com.ruoyi.monitor.mapper;

import java.util.List;
import com.ruoyi.monitor.domain.MonitorLocation;

/**
 * 监控地点Mapper接口
 * 
 * @author lh
 * @date 2025-04-16
 */
public interface MonitorLocationMapper 
{
    /**
     * 查询监控地点
     * 
     * @param locationId 监控地点主键
     * @return 监控地点
     */
    public MonitorLocation selectMonitorLocationByLocationId(Integer locationId);

    /**
     * 查询监控地点列表
     * 
     * @param monitorLocation 监控地点
     * @return 监控地点集合
     */
    public List<MonitorLocation> selectMonitorLocationList(MonitorLocation monitorLocation);

    /**
     * 新增监控地点
     * 
     * @param monitorLocation 监控地点
     * @return 结果
     */
    public int insertMonitorLocation(MonitorLocation monitorLocation);

    /**
     * 修改监控地点
     * 
     * @param monitorLocation 监控地点
     * @return 结果
     */
    public int updateMonitorLocation(MonitorLocation monitorLocation);

    /**
     * 删除监控地点
     * 
     * @param locationId 监控地点主键
     * @return 结果
     */
    public int deleteMonitorLocationByLocationId(Integer locationId);

    /**
     * 批量删除监控地点
     * 
     * @param locationIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMonitorLocationByLocationIds(Integer[] locationIds);
}
